package cn.xuchunh.campusbbs.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;

import cn.xuchunh.campusbbs.R;
import cn.xuchunh.campusbbs.widget.LabelView;

/**
 *
 * Created by XuChunH on 2015/9/12.
 */
public class ForumViewHolder extends RecyclerView.ViewHolder {

    public TextView name;
    public TextView lastPostTime;
    public LabelView todayPostNum;
    public SimpleDraweeView icon;

    public ForumViewHolder(View itemView) {
        super(itemView);
        name = (TextView) itemView.findViewById(R.id.forum_name);
        lastPostTime = (TextView) itemView.findViewById(R.id.last_post_time);
        todayPostNum = (LabelView) itemView.findViewById(R.id.post_num);
        icon = (SimpleDraweeView) itemView.findViewById(R.id.icon);
    }
}
